<?php
/**
 * 商品
 * Enter description here ...
 * @author nijn
 *
 */
class GoodsController extends FrontController{

	public $modelName = 'Ticket';
	/**
	 * indexAction 商品首页
	 * listAction 商品列表
	 * viewAction 商品详情
	 * searchAction 商品搜索
	 */
	public function actionIndex(){
		$this->render('index');
	}
	
	public function actions() {
		return array_merge(parent::actions(),array(
			'list' => array(
				'class' => 'application.components.actions.front.ListAction',
				'criteria' => array(
					'scopes' => 'listing',
				),
			),
		));
	}
}

?>